package day6;

public enum A implements I{
	Ash, 
	Bish;

	private A current;
	@Override
	public I doSomething(String name) {
		current = name.equalsIgnoreCase(Ash.name())? Ash : (name.equalsIgnoreCase(Bish.name())? Bish : null);
		return current;
	}
	
	@Override
	public String toString() {
		String string = new String();
		string += current.name();
		return string;
	}

}
